package com.zx.config;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import lombok.extern.slf4j.Slf4j;

/**
 * @author jack.wu
 * @version 1.0
 * @date 2020-03-09
 */
@Slf4j
public class OrderServiceBlockHandler {

    public static String blockHandlerMethod(BlockException e) {
        log.error("触发了blockException，内容为：{}", e);
        return "blockException";
    }
}
